Passed
Branch master (631cc3)
by Stephan
33:03
created

module.exports   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 32

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 32
rs 8.8571
1
/*jshint node:true */
2
module.exports = function ( grunt ) {
3
	grunt.loadNpmTasks( 'grunt-contrib-jshint' );
4
	grunt.loadNpmTasks( 'grunt-jsonlint' );
5
	grunt.loadNpmTasks( 'grunt-banana-checker' );
6
7
	grunt.initConfig( {
8
		jshint: {
9
			options: {
10
				jshintrc: true
11
			},
12
			all: [
13
				'**/*.js',
14
				'!node_modules/**',
15
				'!vendor/**',
16
				'!libs/jquery.qtip.js'
17
			]
18
		},
19
		banana: {
20
			all: 'i18n/'
21
		},
22
		jsonlint: {
23
			all: [
24
				'**/*.json',
25
				'!node_modules/**',
26
				'!vendor/**'
27
			]
28
		}
29
	} );
30
31
	grunt.registerTask( 'test', [ 'jshint', 'jsonlint', 'banana' ] );
32
	grunt.registerTask( 'default', 'test' );
33
};
34